package dao;

import java.util.List;

import model.NguoiDung;

public interface NguoiDungDAO extends GenericDAO<NguoiDung, String>{
	public NguoiDung checkLogin(String username, String password);
	public List<NguoiDung> findByIdNguoiDungLike(String keyword);
	public List<NguoiDung> findByTenNguoiDungLike(String keyword);
	public List<NguoiDung> findByIdNhomNguoiDungLike(String keyword);
	public List<NguoiDung> findByEmailNguoiDungLike(String keyword);
	public List<NguoiDung> findByOneCondition(String criteria, String keyWord);
	public NguoiDung findByEmail(String email);
}
